from celery import shared_task

from utils.sendcode import sms


@shared_task(name="send_message")
def send_message(phone, code):
    result = sms.send(phone, code)
    return result
